{% extends "admin/_layouts/login_register.twig" %}

{% block body %}
    <div class="login-box">
      <div class="login-logo">
        <a href="">{{ _globals.config.name }}</a>
      </div><!-- /.login-logo -->
      <div class="login-box-body">
        <p class="login-box-msg">{{ _globals.lang.userLogin }}</p>
        <form action="{{ _globals.config.urls.login }}" method="post">
          {{ _globals.csrf_field|raw }}
          <div class="form-group has-feedback">
            <input type="text" class="form-control" placeholder="Username" name="username">
            <span class="glyphicon glyphicon-user form-control-feedback"></span>
          </div>
          <!-- <div class="form-group has-feedback">
            <input type="email" class="form-control" placeholder="Email">
            <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
          </div> -->
          <div class="form-group has-feedback">
            <input type="password" class="form-control" placeholder="Password" name="password">
            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
          </div>
          <div class="row">
            <div class="col-xs-8">
              <div class="checkbox icheck">
                <label>
                  <input type="checkbox" name="rememberMe"> {{ _globals.lang.rememberMe }}
                </label>
              </div>
            </div><!-- /.col -->
            <div class="col-xs-4">
              <button type="submit" class="btn btn-primary btn-block btn-flat">{{ _globals.lang.signIn }}</button>
            </div><!-- /.col -->
          </div>
        </form>

        <div class="social-auth-links text-center">
          <p>- OR -</p>
          <a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> Sign in using Facebook</a>
          <a href="#" class="btn btn-block btn-social btn-google btn-flat"><i class="fa fa-google-plus"></i> Sign in using Google+</a>
        </div><!-- /.social-auth-links -->

        <a href="{{ _globals.config.urls.forgetPasswd }}">{{ _globals.lang.forgetPasswd }}</a><br>
        <a href="{{ _globals.config.urls.register }}" class="text-center">{{ _globals.lang.regNewUser }}</a>

      </div><!-- /.login-box-body -->
    </div><!-- /.login-box -->
{% endblock %}
